package com.example.dynamicschedule.dao;


import com.example.dynamicschedule.bean.CkOrderLoanIntelligenceDivision;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Repository
public interface CkOrderLoanIntelligenceDivisionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkOrderLoanIntelligenceDivision record);

    int insertSelective(CkOrderLoanIntelligenceDivision record);

    int insertForeach(List<CkOrderLoanIntelligenceDivision> record);

    CkOrderLoanIntelligenceDivision selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkOrderLoanIntelligenceDivision record);

    int updateBySerialNumber(CkOrderLoanIntelligenceDivision record);


    int updateByPrimaryKeyWithBLOBs(CkOrderLoanIntelligenceDivision record);

    int updateByPrimaryKey(CkOrderLoanIntelligenceDivision record);



    List<CkOrderLoanIntelligenceDivision> selectBySerialNumbers(@Param("serialNumberList") List<String> serialNumberList);

    void updateForEach(List<CkOrderLoanIntelligenceDivision> oldCkOrderLoanIntelligenceDivisions);

    List<CkOrderLoanIntelligenceDivision> selectByPeopleId(String peopleId);
}